package com.local.mapper;

import com.local.pojo.Role;
import com.local.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author lou ke
 * @version 1.0
 * @since 2020/4/20 16:49
 */
@Mapper
public interface UserMapper {


    User loadUserByUsername(String username);

    List<Role> getUserRolesByUid(Integer id);
}
